<?
	$dir = 'upload_pic/';
	foreach(glob($dir.'*.*') as $v){
		unlink($v);
	}
	header("location: ../main.php");
?>